package com.pj.wisdomlogistics.mvp.model;


import com.pj.wisdomlogistics.entity.TakeoutDetailInfo;
import com.pj.wisdomlogistics.entity.response.BaseResponse;
import com.pj.wisdomlogistics.mvp.frame.MvpModel;

import rx.Observable;


public class TakeoutDetailModel extends MvpModel {
    public Observable<BaseResponse<TakeoutDetailInfo>> findFoodApplyDetail(int outFoodID) {
        return mApiService.findFoodApplyDetail(outFoodID);
    }

    public Observable<BaseResponse> foodApplyFinish(int outFoodID) {
        return mApiService.foodApplyFinish(outFoodID);
    }

    public Observable<BaseResponse> cancelFoodApply(int outFoodID) {
        return mApiService.cancelFoodApply(outFoodID);
    }

}
